import { request } from 'umi';

// 获取邮件列表
export function getMailList(page: number = 1) {
    let params = {
        page: 1,
        pageSize: 12,

    }
    return request('/api/smtp', {
        params
    });
}
//删除接口
export function getMailDelete(obj: any) {
    return request(`/api/smtp/${obj.id}`, {
        method: "DELETE"
    })
}
